package com.psychologyCommunity.Community.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

//必须要写一个配置类
//不加这个@EnableScheduling注解 说明定时任务没启用，默认是不启用的
@Configuration
@EnableScheduling
@EnableAsync
public class ThreadPoolConfig {

}
